package com.qf.day02;

import java.util.Scanner;

public class switchDemo {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入你的选择：");
        String option = scanner.next();
        switch (option){
            case "a":
            case "A":
                System.out.println("好评");
                break;
            case "b":
            case "B":
                System.out.println("良好");
                break;
            case "c":
            case "C":
                System.out.println("一般");
                break;
            case "d":
            case "D":
                System.out.println("差评");
                break;
            default:
                System.out.println("请输入正确选择！");
        }

    }
}
